package com.grapticket;

import java.util.Date;

/**
 * Created by yijy on 2017/7/31.
 */
public class Ticket {

    public static void main(String[] args) {
//        GrapThread grap = new GrapThread();
//        Thread t = new Thread(grap);
//        Thread t1 = new Thread(grap);
//        Thread t2 = new Thread(grap);
//        Thread t3 = new Thread(grap);
//        Thread t4 = new Thread(grap);
//        Thread t5 = new Thread(grap);
//        t.start();
//        t3.start();
//        t4.start();
//        t5.start();
//        t1.start();
//        t2.start();
        Date date = new Date("2017/01/01");
        Date date1 = new Date("2017/01/02");
        System.out.println((date1.getTime() -date.getTime())/(3600*24*1000));
    }

}
